package com.todod.base.module.base.controller.admin.device.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.todod.base.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.todod.base.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 仪器设备分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DevicePageReqVO extends PageParam {

    @Schema(description = "设备编码")
    private String code;

    @Schema(description = "设备名称", example = "丁真")
    private String name;

    @Schema(description = "类型(数据字典下拉：yq_type:(zhljy:综合录井仪;zjcsy:钻井参数仪;szcl_lwd:随钻测量LWD;szcl_mwd:随钻测量MWD;jxyly:井下压裂仪;gjyq:固井仪器;syyq:试油仪器;dhyq:地化仪器))", example = "2")
    private String type;

    @Schema(description = "型号(数据字典下拉，对应各类型)")
    private String mode;

    @Schema(description = "其他参数")
    private String otherParams;

    @Schema(description = "备注", example = "你好丁真")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}